<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="/bsc/js/common/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/bsc/js/common/bootstrap/css/bootstrap-theme.min.css">
<script src="/bsc/js/common/bootstrap/js/jquery-3.1.1.min.js"></script>
<script src="/bsc/js/common/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<form action="http://localhost:8081/bsc/proltal/zn1/findQtbisiness" method="post"  class="form-inline" role="form" >
<table align="center">
<tr>
<td>订单编号</td>
<td><input  class="form-control" type="text" name="order_id"></td>
<td>顾客账号</td>
<td><input  class="form-control" type="text" name="custom_user_id"></td>
<td>顾客姓名</td>
<td><input  class="form-control" type="text" name="username"></td>
<td>订单状态</td>
<td>
<select  class="form-control" name="order_status">
<option value=""></option>
<option value="1">草稿</option>
<option value="1">已预约</option>
<option value="1">服务中</option>
<option value="1">待支付</option>
<option value="1">已支付</option>
<option value="1">已完成</option>
<option value="1">已过期</option>
<option value="1">已撤销</option>
</select>
</td>
<td>
<button type="submit" class="btn btn-primary">查询</button>&nbsp&nbsp
<button type="button" class="btn btn-primary" id="clear">重置</button>
</td>
</tr>
<tr>
<td>订单编号</td>
<td>顾客账号</td>
<td>顾客姓名</td>
<td>消费内容</td>
<td>消费类型</td>
<td>价格(元)</td>
<td>实付金额(元)</td>
<td>消耗颜值</td>
<td>支付方式</td>
<td>支付时间</td>
<td>店铺简称</td>
</tr>
<c:forEach items="${list }" var="list">
<tr>
<td>${list.order_id }</td>
<td>${list.custom_user_id }</td>
<td>${list.username }</td>
<td>${list.order_content }</td>
<td>
${list.order_type=="1"?"美颜币":list.order_type=="2"?"礼包":"项目" }
</td>
<td>${list.order_money }</td>
<td>${list.pay_money }</td>
<td>${list.extend_beauty_num }</td>
<td>${list.pay_way }</td>
<td>${list.pay_time }</td>
<td>${list.short_name }</td>
</tr>
</c:forEach>
</table>
</form>
</body>
</html>